HAL NOR State function migration

This section provides information about the HAL NOR function migration.

HAL NOR get state

HAL1

HAL2

HAL_NOR_GetState(const NOR_HandleTypeDef *hnor);
HAL_NOR_GetState(const hal_nor_handle_t *hnor);

HAL NOR get status

HAL1

HAL2

HAL_NOR_GetStatus(NOR_HandleTypeDef *hnor, uint32_t Address, uint32_t Timeout);
/* For Command Set 1 */
HAL_NOR_CFI_0001_ReadStatusRegister(hal_nor_handle_t *hnor, uint32_t offset_byte);
/* For Command Set 2 */
HAL_NOR_CFI_0002_ReadStatusRegister(hal_nor_handle_t *hnor, uint32_t offset_byte);
/* For Command Set 3 */
HAL_NOR_CFI_0003_ReadStatusRegister(hal_nor_handle_t *hnor, uint32_t offset_byte);

Related concepts: Other HAL NOR changes